Skip to main content
GET
/
public
/
v1
/
toptimize
/
forecasting
/
marketplace
[BETA] Marketplace-level Forecasts
curl --request GET \
  --url https://api.topsort.com/public/v1/toptimize/forecasting/marketplace \
  --header 'Authorization: Bearer <token>'
[
  {
    "forecastDate": "2023-12-25",
    "metrics": [
      {
        "metricName": "<string>",
        "values": {
          "forecastValue": 123,
          "forecastIntervalMin": 123,
          "forecastIntervalMax": 123
        }
      }
    ]
  }
]

Authorizations

Authorization
string
header
required

A valid API key generated in Topsort's UI.

Query Parameters

time_window
integer
default:7

How many days to forecast into the future.

Response

Successful Response

forecastDate
string<date>
required

Date of the forecast

metrics
MetricForecast · object[]
required

List of metric forecasts for this date